package com.pearl.spring.boot3.start.demo;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringBoot3StartDemoApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(SpringBoot3StartDemoApplication.class);
        springApplication.setBannerMode(Banner.Mode.OFF); // 关闭Banner打印
        springApplication.setLazyInitialization(false); // 关闭懒加载
        springApplication.setAllowBeanDefinitionOverriding(true); // 允许Bean覆盖
        springApplication.setAllowCircularReferences(true); // 允许循环引用
        springApplication.run(args);
    }

}
